package com.ruoyi.second.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 二手房源对象 second_hand_house
 * 
 * @author ruoyi
 * @date 2025-09-12
 */
public class SecondHandhouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房源ID */
    @Excel(name = "房源ID")
    private Long id;

    /** 小区ID */
    @Excel(name = "小区ID")
    private Long communityId;

    /** 房源标题 */
    @Excel(name = "房源标题")
    private String title;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 面积 */
    @Excel(name = "面积")
    private BigDecimal area;

    /** 室 */
    @Excel(name = "室")
    private Long room;

    /** 厅 */
    @Excel(name = "厅")
    private Long hall;

    /** 朝向 */
    @Excel(name = "朝向")
    private Long orientation;

    /** 楼层 */
    @Excel(name = "楼层")
    private Long floor;

    /** 总楼层 */
    @Excel(name = "总楼层")
    private Long totalFloor;

    /** 房源描述 */
    @Excel(name = "房源描述")
    private String description;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCommunityId(Long communityId) 
    {
        this.communityId = communityId;
    }

    public Long getCommunityId() 
    {
        return communityId;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    public void setArea(BigDecimal area) 
    {
        this.area = area;
    }

    public BigDecimal getArea() 
    {
        return area;
    }

    public void setRoom(Long room) 
    {
        this.room = room;
    }

    public Long getRoom() 
    {
        return room;
    }

    public void setHall(Long hall) 
    {
        this.hall = hall;
    }

    public Long getHall() 
    {
        return hall;
    }

    public void setOrientation(Long orientation) 
    {
        this.orientation = orientation;
    }

    public Long getOrientation() 
    {
        return orientation;
    }

    public void setFloor(Long floor) 
    {
        this.floor = floor;
    }

    public Long getFloor() 
    {
        return floor;
    }

    public void setTotalFloor(Long totalFloor) 
    {
        this.totalFloor = totalFloor;
    }

    public Long getTotalFloor() 
    {
        return totalFloor;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("communityId", getCommunityId())
            .append("title", getTitle())
            .append("price", getPrice())
            .append("area", getArea())
            .append("room", getRoom())
            .append("hall", getHall())
            .append("orientation", getOrientation())
            .append("floor", getFloor())
            .append("totalFloor", getTotalFloor())
            .append("description", getDescription())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
